package top.cfl.cflwork;

import com.alicp.jetcache.anno.config.EnableCreateCacheAnnotation;
import com.alicp.jetcache.anno.config.EnableMethodCache;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import top.cfl.cflwork.config.ApplicationConfiguration;
import top.cfl.cflwork.servlet.AppDispatcherServletConfiguration;

@SpringBootApplication(exclude = {SecurityAutoConfiguration.class})
@Configuration
@EnableMethodCache(basePackages = "top.cfl.cflwork")
@EnableCreateCacheAnnotation
@Import({
		ApplicationConfiguration.class,
		AppDispatcherServletConfiguration.class
})
public class FlowableApplication {

	public static void main(String[] args) {
		SpringApplication.run(FlowableApplication.class, args);
	}
}
